#define _CRT_SECURE_NO_WARNINGS
#include"Heap.h"

int main()
{/*
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 50);
	HeapPush(&hp, 30);
	HeapPush(&hp, 40);
	HeapPush(&hp, 70);
	HeapPush(&hp, 10);

	int k = 0;
	scanf("%d",&k);
	while (!HeapEmpty(&hp) && k--)
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	*/

	int a[] = { 1,5,57,8,10,9 };
	HeapSort(a, 6);
	for (int i = 0; i < 6; i++)
	{
		printf("%d ",a[i]);
	}


		 

	  
	return 0;
}